package com.wisdom.bean.Demo1;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 11951
 * Date: 2025-03-13
 * Time: 20:46
 */
@Data
@Component("myBook")
public class Book {
    @Value("语文")
    String name;

}
